package com.agileai.bpm.domain.running;

import java.util.ArrayList;
import java.util.List;

import com.agileai.bpm.domain.define.Activity;

public class ActivityInstance extends RunningObject{
	private Activity activity = null;
	private ProcessInstance processInstance = null;
	private boolean processedVariables = false;
	private String businessURL = null;
	private String mobileBizURL = null;
	private String bizdataXML = null;
	private List<String> operaterIdList = new ArrayList<String>();
	private boolean realExist = true;
	
	private List<String> targetUserIdList = new ArrayList<String>();
	private List<String> targetUserCodeList = new ArrayList<String>();
	
	public ProcessInstance getProcessInstance() {
		return processInstance;
	}

	public void setProcessInstance(ProcessInstance processInstance) {
		this.processInstance = processInstance;
	}

	public Activity getActivity() {
		return activity;
	}

	public void setActivity(Activity activity) {
		this.activity = activity;
	}
	
	public String getCode() {
		return activity.getCode();
	}

	public boolean isProcessedVariables() {
		return processedVariables;
	}

	public void setProcessedVariables(boolean processedVariables) {
		this.processedVariables = processedVariables;
	}

	public String getBusinessURL() {
		return businessURL;
	}

	public void setBusinessURL(String businessURL) {
		this.businessURL = businessURL;
	}

	public String getBizdataXML() {
		return bizdataXML;
	}

	public void setBizdataXML(String bizdataXML) {
		this.bizdataXML = bizdataXML;
	}

	public List<String> getOperaterIdList() {
		return operaterIdList;
	}

	public List<String> getTargetUserCodeList() {
		return targetUserCodeList;
	}

	public List<String> getTargetUserIdList() {
		return targetUserIdList;
	}

	public boolean isRealExist() {
		return realExist;
	}

	public void setRealExist(boolean realExist) {
		this.realExist = realExist;
	}
	
	public String getMobileBizURL() {
		return mobileBizURL;
	}
	
	public void setMobileBizURL(String mobileBizURL) {
		this.mobileBizURL = mobileBizURL;
	}
}
